<template name="home">
	<view>
		<scroll-view scroll-y class="page" style="height: 100%;">
			Home Page
		</scroll-view>
	</view>
</template>

<script>
	import Http from "../../Http.js";
	import Lang from "../../Lang.js";
	export default {
		name: "home",
		data() {
			return {
				
			};
		},
		
		methods:{
			getBanner:function(){
				console.log("BBBBBBBBBBBBBBBBBBBBBBB");
				Http.post("getBanner",{},{
					success(res){
						console.log(res);
					}
				})
			}
		},
		
		onLoad:function(){
			this.getBanner();
		},
		
		onShow() {
			console.log("success")
		}
	}
</script>

<style>
	.page {
		height: 100vh;
	}
</style>